package ipebg.mzk.common.util;

import java.io.Serializable;

public class PaginationForm implements Serializable{
	private static final long serialVersionUID = 24442616798595411L;
	
	private String totalCount;
	private String totalPage;
	private String countPerPage;
	private String curPage;
	private String goPage;
	

	public boolean isNoUseForm(){
		return this.curPage.equals("");
	}
	
	public int getIntValueOfCurrentPage(){
		return Integer.valueOf(this.curPage);
	}
	
	public int getIntValueOfCountPerPage(){
		return Integer.valueOf(this.countPerPage);
	}
	
	public int getIntValueOfTotalPage(){
		return Integer.valueOf(this.totalPage);
	}
	
	public int getIntValueOfTotalCount(){
		return Integer.valueOf(this.totalCount);
	}
	
	public String getTotalCount() {
		return totalCount;
	}
	public void setTotalCount(String totalCount) {
		this.totalCount = totalCount;
	}
	public String getTotalPage() {
		return totalPage;
	}
	public void setTotalPage(String totalPage) {
		this.totalPage = totalPage;
	}
	public String getCountPerPage() {
		return countPerPage;
	}
	public void setCountPerPage(String countPerPage) {
		this.countPerPage = countPerPage;
	}
	public String getCurPage() {
		return curPage;
	}
	public void setCurPage(String curPage) {
		this.curPage = curPage;
	}
	public String getGoPage() {
		return goPage;
	}
	public void setGoPage(String goPage) {
		this.goPage = goPage;
	}
	
}
